
{% load custom_markdown %}
{% load staticfiles %}
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="{% static 'highlight/highlight.pack.js' %}"></script>
    <link rel="stylesheet" type="text/css" href="{% static 'highlight/styles/monokai-sublime.css' %}">
    <title>Document</title>
</head>
<script>hljs.initHighlightingOnLoad();</script>
<body>
<div>
    {% for article in article_list %}
        <h1><a href="#">{{ article.title }}</a></h1>
        <p>
        Time: {{ article.create_time }}
        </p>
        <p>
        {{ article.content|custom_markdown }}
        </p>
    {% endfor %}
</div>
</body>
</html>